const mongoose = require("mongoose");

module.exports = mongoose.model("auth", {
  //管理系统用户名字
  name: {
    type: String,
    required: true,
  },
  //创建时间
  time: {
    type: String,
    // required: true,
  },
  //手机号
  phone: {
    type: String,
  },
  password: {
    type: String,
  },
  part: {
    type: String,
  },
  work: {
    type: String,
  },
  type: {
    type: String,
    default: 1,
  },
});
